---
title: "Template"
subtitle: "Subtitle May Be Added"
date: "`r Sys.Date()`"
author: "Your Name"
output:
pdf_document:
  toc: true
  number_sections: true
  highlight: tango
---

# Preparation: Install packages, load data sets
```{r, message=FALSE, warning=FALSE}
# We will use the following code to install all packages
packages <- c("ggplot2")

# Install uninstalled packages
lapply(packages[!(packages %in% installed.packages())], install.packages)

# Load all packages to library
lapply(packages, library, character.only = TRUE)
```

```{r}
# Load data
```

# Data management
```{r}
# Data management

```

# Data visualization
```{r}
# Data visualization

```

# Data analysis
```{r}
# Data analysis
```


# Additional notes and resources
If you have more intensive data management and analysis projects, you might also consider saving the different sub-parts into single documents. For an illustrative example, see [here](https://bookdown.org/lyzhang10/lzhang_r_tips_book/how-to-organize-a-project-folder.html) and [here](https://nicercode.github.io/blog/2013-04-05-projects/).

- **[How to set up a workflow (connecting R and github)](https://happygitwithr.com/rstudio-git-github.html)**
- **[R Markdown Reference Guide](https://rstudio.com/wp-content/uploads/2015/03/rmarkdown-reference.pdf)**
